package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * tag表
 * </p>
 *
 * @author oreilly
 * @since 2018-09-13
 */
public class EdoTag extends Model<EdoTag> {

private static final long serialVersionUID = 1L;


                @TableId(value = "sid", type = IdType.AUTO)
                
    private Integer sid;
    /**
     * tag标签
     */

        
    @Excel(name = "tag标签",width = 20,orderNum = "0")
    private String tagName;
    /**
     * 当前tag引用个数
     */

        
    @Excel(name = "当前tag引用个数",width = 20,orderNum = "0")
    private Integer num;


    public Integer getSid() {
            return sid;
    }

    public void setSid(Integer sid) {
            this.sid = sid;
    }

    public String getTagName() {
            return tagName;
    }

    public void setTagName(String tagName) {
            this.tagName = tagName;
    }

    public Integer getNum() {
            return num;
    }

    public void setNum(Integer num) {
            this.num = num;
    }

    @Override
    protected Serializable pkVal() {
            return this.sid;
    }

    @Override
    public String toString() {
        return "EdoTag{" +
                ", sid=" + sid +
                ", tagName=" + tagName +
                ", num=" + num +
        "}";
    }
}
